package design.patterns.dispatch.doubledispatch;

/**
 * desc     :
 * dateTime : 2020-06-14 14:47
 *
 * @author wwchen
 */
public class Client {
    private static East east;
    private static West west;

    public static void main(String[] args) {
        east = new SubEast1();
        west = new SubWest1();
        east.goEast(west);

        east = new SubEast2();
        west = new SubWest2();
        east.goEast(west);
    }
}
